package cn.test.bookms.entity;

import java.io.Serializable;

/**
 * @_PackageName:cn.test.bookms.entity
 * @_ClassName:Student
 * @_Description:
 * @_Author：笑老二
 * @_data 20/06/16 19:45
 */
public class Student implements Serializable {
    private int sid;//编号
    private String identity;//学号
    private String name;//姓名
    private String sex;
    private int age;
    private int grade;//年级 19,18
    private String college;//学院号
    private int book_id;//书籍编号
    private String book_title;//书籍名称

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getBook_title() {
        return book_title;
    }

    public void setBook_title(String book_title) {
        this.book_title = book_title;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", identity='" + identity + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", grade=" + grade +
                ", college='" + college + '\'' +
                ", book_id=" + book_id +
                ", book_title='" + book_title + '\'' +
                '}';
    }
}
